
package com.abbh.libcommunity.model ;

import java.util.HashSet;
/**
 *
 *
 * @hibernate.class
 *     table="USER"
 *
 */
public class User {
    
    // <editor-fold defaultstate="collapsed" desc=" M-N  Relation to Collection /*com.abbh.libcommunity.model.Community*/ communitys ">
    private java.util.Collection communitys=new HashSet();
    
    /**
     * @hibernate.set
     *     role="communitys"
     *     table="USER_COMMUNITY"
     * @hibernate.collection-key
     *     column="COMMUNITY_ID"
     * @hibernate.collection-many-to-many
     *     class="com.abbh.libcommunity.model.Community"
     *     column="USER_ID"
     * @hibernate.set
     *      cascade="all"
     *     lazy="true"
     *
     */
    public java.util.Collection getCommunity() {
        return this.communitys;
    }
    
    public void setCommunity(java.util.Collection communitys) {
        this.communitys = communitys;
    }
    // </editor-fold>

    
    
    
    // <editor-fold defaultstate="collapsed" desc=" 1-N  Relation to Collection /*com.abbh.libcommunity.model.UserAwaitItems*/ userAwaitItemss ">
    private java.util.Collection userAwaitItemss=new HashSet();
    
    /**
     * @hibernate.set
     *     role="userAwaitItemss"
     * @hibernate.collection-key
     *     column="USER_ID"
     * @hibernate.collection-one-to-many
     *     class="com.abbh.libcommunity.model.UserAwaitItems"
     *
     *  @hibernate.set
     *    cascade="all"
     *  lazy="true"
     */
    public java.util.Collection getUserAwaitItemss() {
        return this.userAwaitItemss;
    }
    
    public void setUserAwaitItemss(java.util.Collection userAwaitItemss) {
        this.userAwaitItemss = userAwaitItemss;
    }
    // </editor-fold>

    
    // <editor-fold defaultstate="collapsed" desc=" 1-N  Relation to Collection /*com.abbh.libcommunity.model.UserHoldItems*/ userHoldItemss ">
    private java.util.Collection userHoldItemss=new HashSet();
    
    /**
     * @hibernate.set
     *     role="userHoldItemss"
     * @hibernate.collection-key
     *     column="USER_ID"
     * @hibernate.collection-one-to-many
     *     class="com.abbh.libcommunity.model.UserHoldItems"
     *   @hibernate.set
     *    cascade="all"
     *     lazy="true"
     */
    public java.util.Collection getUserHoldItemss() {
        return this.userHoldItemss;
    }
    
    public void setUserHoldItemss(java.util.Collection userHoldItemss) {
        this.userHoldItemss = userHoldItemss;
    }
    // </editor-fold>

    
    // <editor-fold defaultstate="collapsed" desc=" 1-N  Relation to Collection /*com.abbh.libcommunity.model.UserBoughtItems*/ userBoughtItemss ">
    private java.util.Collection userBoughtItemss=new HashSet();
    
    /**
     * @hibernate.set
     *     role="userBoughtItemss"
     * @hibernate.collection-key
     *     column="USER_ID"
     * @hibernate.collection-one-to-many
     *     class="com.abbh.libcommunity.model.UserBoughtItems"
     *   @hibernate.set
     *         cascade="all"
     *        lazy="true"
     *
     *
     */
    public java.util.Collection getUserBoughtItemss() {
        return this.userBoughtItemss;
    }
    
    public void setUserBoughtItemss(java.util.Collection userBoughtItemss) {
        this.userBoughtItemss = userBoughtItemss;
    }
    // </editor-fold>

    
    
    // <editor-fold defaultstate="collapsed" desc=" 1-N  Relation to Collection /*com.abbh.libcommunity.model.UserRentedItems*/ userRentedItemss ">
    private java.util.Collection userRentedItemss=new HashSet();
    
    /** 
     * @hibernate.set
     *     role="userRentedItemss"
     * @hibernate.collection-key
     *     column="USER_ID"
     * @hibernate.collection-one-to-many
     *     class="com.abbh.libcommunity.model.UserRentedItems"
     *
     *  @hibernate.set
     *    cascade="all"
     *  lazy="true"
     */
    public java.util.Collection getUserRentedItemss() {
        return this.userRentedItemss;
    }
    
    public void setUserRentedItemss(java.util.Collection userRentedItemss) {
        this.userRentedItemss = userRentedItemss;
    }
    // </editor-fold>

    
    // <editor-fold defaultstate="collapsed" desc=" Property:   String userName ">
    private String userName;
    /**
     *   @hibernate.property
     *     column="USERNAME"
     *   @hibernate.column
     *     name="USERNAME"
     */
    public String getUserName() {
        return userName;
    }
    public void setUserName(String userName) {
        this.userName = userName;
    }
    // </editor-fold>
    
    // <editor-fold defaultstate="collapsed" desc=" Property:   java.sql.Date creationDate ">
    private java.sql.Date creationDate;
    /**
     *   @hibernate.property
     *     column="CREATION_DATE"
     *   @hibernate.column
     *     name="CREATION_DATE"
     */
    public java.sql.Date getCreationDate() {
        return creationDate;
    }
    public void setCreationDate(java.sql.Date creationDate) {
        this.creationDate = creationDate;
    }
    // </editor-fold>
    
    // <editor-fold defaultstate="collapsed" desc=" Property:   String createdUser ">
    private String createdUser;
    /**
     *   @hibernate.property
     *     column="CREATED_USER"
     *   @hibernate.column
     *     name="CREATED_USER"
     */
    public String getCreatedUser() {
        return createdUser;
    }
    public void setCreatedUser(String createdUser) {
        this.createdUser = createdUser;
    }
    // </editor-fold>
    
    // <editor-fold defaultstate="collapsed" desc=" Property:   java.sql.Date lastModifiedDate ">
    private java.sql.Date lastModifiedDate;
    /**
     *   @hibernate.property
     *     column="LAST_MODIFIED_DATE"
     *   @hibernate.column
     *     name="LAST_MODIFIED_DATE"
     */
    public java.sql.Date getLastModifiedDate() {
        return lastModifiedDate;
    }
    public void setLastModifiedDate(java.sql.Date lastModifiedDate) {
        this.lastModifiedDate = lastModifiedDate;
    }
    // </editor-fold>
    
    // <editor-fold defaultstate="collapsed" desc=" Property:   String lastModifiedUser ">
    private String lastModifiedUser;
    /**
     *   @hibernate.property
     *     column="LAST_MODIFIED_USER"
     *   @hibernate.column
     *     name="LAST_MODIFIED_USER"
     */
    public String getLastModifiedUser() {
        return lastModifiedUser;
    }
    public void setLastModifiedUser(String lastModifiedUser) {
        this.lastModifiedUser = lastModifiedUser;
    }
    // </editor-fold>
    
    // <editor-fold defaultstate="collapsed" desc=" PrimaryKey:   Integer id ">
    private Integer id;
    /**
     *   @hibernate.id
     *     generator-class="increment"
     */
    public Integer getId() {
        return id;
    }
    public void setId(Integer id) {
        this.id = id;
    }
    //</editor-fold>
}